<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictDeviceModelList" checkbox="true" fitColumns="true" title="电源节点管理" actionUrl="nodeController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="节点名称"  field="deviceNodeName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="NVS ID"  field="nvsId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="Net ID"  field="netId"     queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="Node ID"  field="nodeId"     queryMode="single"  width="120"></t:dgCol>  
   <t:dgCol title="实验室"  field="lab.name"   query="true" queryMode="single" replace="${labNames }" width="120"></t:dgCol>
   <t:dgCol title="实验机床"  field="labDevice.machineName"   query="true" queryMode="single" width="120"></t:dgCol> 
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="nodeController.do?doDel&id={id}" />
   <t:dgToolBar title="录入节点" icon="icon-add" url="nodeController.do?goAdd" funname="add" height="400" width="590"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="nodeController.do?goUpdate" funname="update"  height="350" width="590"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="nodeController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="nodeController.do?goUpdate" funname="detail"  height="350" width="590"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>
